#region Using

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;

using Gizmox.WebGUI.Common;
using Gizmox.WebGUI.Forms;

using Gizmox.WebGUI.Common.Resources;
using Microsoft.Reporting.WebForms;

#endregion

namespace VisualWebGuiApplication2
{
    public partial class frmReportTankRecipet : Form
    {



       
          
           

        public frmReportTankRecipet()
        {
            InitializeComponent();
          
        }

        public frmReportTankRecipet(int tankid,string reporttype)
        {
            InitializeComponent();


            this.aspPageBox1.Path = "/"+reporttype+".aspx?id=" + tankid;
       
          
          
           // this.htmlBox1.Url = Context.HttpContext.Request.ApplicationPath + "report1.aspx?id=" + tankid;
            
            //this.htmlBox1
         
            
          
        }

        public frmReportTankRecipet(int tankid, string reporttype,string size,string company,string tanknumber)
        {
            InitializeComponent();


            this.aspPageBox1.Path = "/" + reporttype + ".aspx?id=" + tankid + "&size=" + size + "&company=" + company + "&tanknumber=" + tanknumber;



            // this.htmlBox1.Url = Context.HttpContext.Request.ApplicationPath + "report1.aspx?id=" + tankid;

            //this.htmlBox1



        }

        //render report 
      
    

    }
}